package com.totem.admin.api;

import com.totem.base.model.PageVO;
import com.totem.base.model.Result;
import com.totem.order.vo.*;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.validation.Valid;

@Tag(name="钱包与流水服务", description="钱包与流水后台服务等")
public interface AdminWalletServiceApi {
    @Operation(summary="支付提现订单")
    @PostMapping("/admin/wallet/withdraw/payment")
    @ResponseBody
    Result<WithdrawPaymentVO> withdrawPayment(@RequestBody @Valid WithdrawPaymentVO vo);
    @Operation(summary="流水分页展示")
    @PostMapping("/admin/wallet/journal/page")
    @ResponseBody
    Result<PageVO<WalletJournalVO>> journalPage(@RequestBody @Valid WalletJournalPageVO vo);
    @Operation(summary="归集记录分页展示")
    @PostMapping("/admin/wallet/collection/page")
    @ResponseBody
    Result<PageVO<CollectionJournalVO>> collectionJournalPage(@RequestBody @Valid CollectionJournalPageVO vo);
    @Operation(summary="修改usdt余额")
    @PostMapping("/admin/wallet/usdt/update")
    @ResponseBody
    Result<Boolean> updateWalletUSDT(@RequestBody @Valid UpdateWalletUSDTVO vo);
}
